<h1>Login user</h1>


 <p style="color: red"><%= @error  %></p>

 <%= form_tag("/authenticate")  %>
   Username: <%= text_field_tag 'username' , "name"  %>
	<br />
   Password: 
	<%= password_field_tag 'password', 'Your secret here' %>
	<br />
   <%= submit_tag 'login'%>
